package com.gxa.p2p.service;

import com.gxa.p2p.pojo.Recharge;
import com.gxa.p2p.pojo.Withdrawal;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: cxy
 * Date: 2020/08/10 10:16
 * Description:
 * Version: V1.0
 */
public interface RechargeService {

    //充值流程处理
    Integer doRecharge(Recharge recharge);
    //充值前验证
    Integer verify(Recharge recharge);
    //充值记录模糊查询
    List<Recharge> selectLimitLike(Map<String,Object> map);
     Integer count(Map<String, Object> map);
     //充值记录全查询
    List<Recharge> selectAll ();
    //按ID查询充值记录
    List<Recharge> selectByUserId (Integer userId);

}
